
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">{[$result.id]}({[$result.emp_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">简称：</td>
		<td>{[$result.name]} ({[$result.zjm]})</td>
		<td align="right">等级：</td>
		<td><input type="radio" class="star" name="star" value="1" /> 
		<input type="radio" class="star" name="star" value="2" /> 
		<input type="radio" class="star" name="star" value="3" /> 
		<input type="radio" class="star" name="star" value="4" /> 
		<input type="radio" class="star" name="star" value="5" /></td>
	</tr>
	<tr>
		<td align="right">全称：</td>
		<td colspan="3">{[$result.fullname]}</td>
	</tr>
	<tr>
		<td align="right">证件号码：</td>
		<td>{[$result.cert_no]}</td>
		<td align="right">证件类型：</td>
		<td>{[$result.cert_type_t]}</td>
	</tr>
	<tr>
		<td align="right">证件号码：</td>
		<td colspan="3">{[$result.cert_no|bank]}</td>
	</tr>
	<tr>
		<td align="right">大类：</td>
		<td>{[$result.category]}</td>
		<td align="right">小类：</td>
		<td>{[$result.type]}</td>
	</tr>
	<tr>
		<td align="right">地址：</td>
		<td colspan="3">{[$result.address]}</td>
	</tr>
	<tr>
		<td align="right">付款：</td>
		<td colspan="3">方式：{[$result.pay]}，币种：{[$result.currency_t]}，税率：{[$result.tax|string_float]}%</td>
	</tr>
	<tr>
		<td align="right">网站：</td>
		<td colspan="3"><a style="color:blue" href="{[$result.url]}" target="_blank">{[$result.url]}</a></td>
	</tr>
	<tr>
		<td align="right">简介：</td>
		<td colspan="3">{[$result.jj|nl2br]}</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3">{[$result.content|nl2br]}</td>
	</tr>
	<tr>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
		<td align="right">负责人：</td>
		<td>{[$result.emp_t]}</td>
	</tr>
	<tr>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
		<td align="right">录入员：</td>
		<td>{[$result.oper_t]}</td>
	</tr>
</table>

<div id="tab_view" style="margin-top: 0.2em;">

<ul>
    {[foreach name=outer key=key item=item from=$tabs]}
	{[assign var="tab" value="`$tab+1`"]}
	<li><a href="{[$item.cc]}{[$result.id]}">{[$key]}</a></li>
	{[/foreach]}
</ul>
</div>

<script type="text/javascript" src="js/tab_view.js?r={[$smarty.now]}"></script>
{[assign var="star" value="`$result.star-1`"]}
<script type="text/javascript">
$(function() {
	$('input[type=radio].star').rating();
	
	$("input[type=radio].star").rating('select', {[$star]});
	$("input[type=radio].star").rating('disable');
});
</script>

